package cn.wwcyc.mapper;

import cn.wwcyc.domain.Rolemenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author z
* @description 针对表【ROLEMENU】的数据库操作Mapper
* @createDate 2023-10-24 10:30:25
* @Entity cn.wwcyc.domain.Rolemenu
*/
@Mapper
public interface RolemenuMapper extends BaseMapper<Rolemenu> {

    @Select("select menuid from TJ_ROLEMENU where roleid = #{roleId}")
    List<Integer> selectMenuIdByRoleId(Integer roleId);
}




